﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SetAnimatorTrigger : MonoBehaviour
{
    public Animator animator;
    public string trigger;

    private void OnEnable()
    {
        animator.SetTrigger(trigger);
    }
}
